package com.cjm.one.webmanager.service.coupon.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cjm.one.common.result.Result;
import com.cjm.one.coupon.client.CustomerCouponClient;
import com.cjm.one.model.coupon.entity.CustomerCoupon;
import com.cjm.one.webmanager.service.coupon.CustomerCouponService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

@Service
public class CustomerCouponServiceImpl implements CustomerCouponService {
    @Resource
    private CustomerCouponClient customerCouponClient;
    @Override
    public Result<Page<CustomerCoupon>> list(Integer current, Integer size, String keyword, Integer status, Long userId) {
        return customerCouponClient.list(current,size,keyword,status,userId);
    }
}
